package com.neusoft.boss.common.enums;

/**
 *
 */
public enum AjaxCode {
    SUCC(1000,"成功！"),
    UNKNOWN(1001,"请稍后重试！"),
    LOGIN_USER_INVALID(1002,"无效的登录用户"),
    LOGIN_TOKEN_SAVE_ERR(1003,"登录凭证存储失败"),
    LOGIN_NAME_PWD_ERR(1004,"登录名称或密码错误"),
    LOGIN_TOKEN_INVALID(1005,"登录失效，请重新登录"),
    REQUEST_PARAM_ERR(1006,"请求参数错误"),
    USER_LOGIN_NAME_DOUBLE(1007,"登录名称已存在，请更换其他名称"),
    USER_NONE(1008,"无此商户"),



    ;
    AjaxCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
